import {
  Slider,
  Input, Switch, Color, Select
} from '@/components/CustomPage/fields/widget'

export function imgOption() {
  return [
    {
      type: Select,
      option: {
        label: '图片填充模式',
        name: 'imgType',
        list: [
          { name: '图片填满元素', value: 'fill' },
          { name: '等比缩放，(图片的长边能完全显示)', value: 'contain' },
          { name: '等比缩放，(图片的短边能完全显示，裁剪长边)', value: 'cover' }
        ],
        value: 'fill'
      }
    }
  ]
}
